{*Smarty*}
<div class="title">Edit Newsletter</div>
<br /><br />

<form action="{$url}" method="post">
<input type="hidden" name="action" value="{$action}" />
<input type="hidden" name="id" value="{$id}" />

<table border=0>
{if isne($item.id)}
<tr class="{cycle values="dark,light"}">
	<td style="padding-right:5px; text-align:right;">Template ID</td>
	<td>{$item.id}</td>
</tr>
{/if}
<tr class="{cycle values="dark,light"}">
	<td style="padding-right:5px; text-align:right;">Template name:</td>
	<td><input type="text" name="template_name" value="{$item.template_name}" class="input_text" size="55"/></td>
</tr>
<tr class="{cycle values="dark,light"}">
	<td style="padding-right:5px; text-align:right;">Template Subject:</td>
	<td><input type="text" name="subject" value="{$item.subject}" class="input_text" size="55" /></td>
</tr>
<tr class="{cycle values="dark,light"}">
	<td style="padding-right:5px; text-align:right;vertical-align:top;">Content:
	<br/><br/><br/>
		<font style="font-size:10px;">
			<b>%NAME% - </b>User Name<br/>
			<b>%EMAIL% - </b>User Email<br/>
		</font>
	</td>
	<td>
	<!--<textarea name="content" wrap="virtual" class="input_text" style="width:400px;height:200px;">{$item.content}</textarea>-->
    {$html_edit}    
	</td>
</tr>
<tr class="{cycle values="dark,light"}">
	<td style="padding-right:5px; text-align:right;"></td>
	<td><input type="submit" value=" Submit " class="button" />
	&nbsp;<input type="button" name="cancel" value="Cancel" class="button" onclick="location = '{$cancel_url}';">
	</td>
</tr>
</form>

</table>
